package com.mindframe.acelerometro;

import android.graphics.Rect;
import android.util.Log;

public class Obstaculo {
	final String TAG = getClass().getName();
	int speed_x;
	int speed_y;
	
	public Obstaculo(int speed_x, int speed_y, Rect rect) {
		super();
		this.speed_x = speed_x;
		this.speed_y = speed_y;
		this.rect = rect;
	}
	Rect rect;
	
	public void changeX(){
		speed_x = -speed_x;
	}
	
	public void changeY(){
		speed_y = - speed_y;
	}
}
